Detailed guide for manual installation and deployment of Kubernetes on Ubuntu, ubuntukubernetes
Background
Two Ubuntu16.04 servers: 192.168.56.160 and 192.168.56.161.
Kubernetes version: 1.5.5
Docker version: 1.12.6
Etcd version: 2.2.1
Flannel version: 0.5.6
Among them, 160 servers are both master nodes of Kubernetes a
Planning Nodes Install ubuntu 14.04 LTS Prepare password-less SSH login Establish Ssh-key certificate, switch to root account, use command ssh-keygen-t RSAGenerating public/private RSA key pair.Enter file in which to save the key (/ROOT/.SSH/ID_RSA):Enter passphrase (empty for no passphrase):Enter same Passphrase again:Your identification has been saved In/root/.ssh/id_rsa.Your public key has been saved in/root/.ssh/id_rsa.pub. Distribute Id_rsa.pub
Preparatory work1. Three Ubuntu hosts:Operating system: UBUNTU-16.04.1-SERVER-AMD64Docker1. Install using the command sudo apt-get install Dockersudo apt-get install Docker#运行docker服务端Dockerd2. Add the current user to the Docker group, or you'll need to add sudo super privilege to each run of Docker, which is troublesomesudo groupadd Dockersudo gpasswd-a Nwlab DockerView User group information Vi/etc/group
Preparatory work:Install three virtual machines (Ubuntu14.04.5), where Ubuntu01 (192.168.195.131) represents the master node, Ubuntu02 (192.168.195.132) and Ubuntu03 (192.168.195.133) represent node Nodes. Install Docker (installed by Apt-get) in three virtual machines and run the command docker-v after installation to see if the installation was Successful.Note: 1. Three virtual machines must be able to ping each other.2. Install the SECURECRT to ensure that you can ssh into the three virtual m
Kubernetes architecture and component introduction of open-source container Cluster Management System
This article is based on an Infoq article (see the reference section) and has been modified based on your understanding in difficult areas. For more information about deploying kubernetes on Ubuntu, see.
Together we will ensure that
This is a creation in
Article, where the information may have evolved or changed.
The first time I installed Kubernetes 1.3.7 Cluster with the kube-up.sh script, I have successfully installed Kubernetes dashboard addon OK. So far the operation in this environment is very stable. However, after all, it is a test environment, some configurations can not meet the requirements of the production environment, suc
Guide:Kubernetes a ride on the dust to open, then the enterprise should start to kubernetes migration? Under what circumstances do you really accept it? Some of the technology frontier companies first-step practice is probably the most persuasive and reference value. This article is a good reference.1Kubernetes now rage, it is part of a massive cloud-native movement. All major cloud providers use it as a solution for deploying cloud-native application
The Kubernetes network model is made up of four parts from inside to outside:
The network where the pod interior container resides
The network where the pod resides
Network for communication between pod and service
Network of communication between outside and service
It is recommended that you understand the network model of Docker before reading this article. Refer to the author's first two articles [
Docker:Installing Docker,kubernetes on Minion calls the Docker API to create pods as a worker container, while kubernetes itself's agent thread can also run inside Docker. This kubernetes upgrade will be easier.Debian 7 under Install Docker can use Ubuntu source, run the following command:[email protected]:echo debhtt
1. Compiling environment
Operating system: Ubuntu 16.04 LTS AMD64
git:2.7.4
docker:1.12.6
2. Compile Steps
2.1 Clone Source Code
# git clone https://github.com/kubernetes/kubernetes.git
# git checkout release-1.7
2.2 To modify the source code is to solve the Gcr.io domestic problems, has been tested, even if ready to gcr.io related mirrors, such as not modify the source code will still be due to network
Each threshold is divided into two sets of values, Eviction-soft and Eviction-hard. The difference between soft and hard is that the former gives the pod an elegant exit when it reaches the threshold value, while the latter advocates "violence", killing the pod directly, without any chance of graceful exit. Here also mention the difference between Nodefs and imagefs:
Nodefs: Refers to Node's own storage, storage daemon running logs, etc., generally referred to as the root partition/;
I
What is 1.1 kubernetes?First, it is a new, container-based, distributed architecture leading solution. is an open source version of Google's Borg (large-scale cluster management system).Second, if the system design follows the Kubernetes design idea, then the traditional system architecture and business does not have much to do with the underlying code or function modules (such as load balancing, service se
Concept GroomingIn order to solve the above-mentioned problem, Kubernetes does not need to find a way, after all, is the network security level of the problem, every service will encounter problems, the industry has a mature solution to solve. Here we look at industry scenarios and related concepts.
Symmetric encryption/Asymmetric encryptionThese two concepts belong to cryptography, which is not easy to understand for the students who have n
Description: Use the Grafana official plugins (Grafana-kuberneres-app) Link Prometheus show kubernetes informationNote: All monitoring-related information is placed on the Namespace=monitorGithub:https://github.com/grafana/kubernetes-app1, Installation PrometheusProm-rbac.yamlapiVersion: rbac.authorization.k8s.io/v1beta1kind: ClusterRolemetadata: name: prometheus namespace: monitorrules:- apiGroups: [""]
Use Kubernetes to manage containers on centos 71. Preface
The previous section describes the Kubernetes system architecture, which gives you a preliminary understanding of Kubernetes. However, you may not know how to use Kubernetes. This article describes how to deploy and configure the network environment of the
Kubernetes container cluster management system basic explanation, kubernetes Management SystemKubernetes Overview
Kubernetes is open-source by GoogleContainer Cluster Management SystemIs an open-source version of Google's large-scale container management technology Brog, which includes the following features:
Container-based application deployment, maintenance,
R D department. We are working to make data and container management easier. If you are processing data and containers, we hope to hear your opinion. Please contact our development team directly.Foundry@red-gate.com
Docker Kubernetes1.8.3 Cluster Environment in CentOS 7.3
Install an entry-level Kubernetes cluster in CentOS 7
Kubernetes1.8.1 Installation Guide, offline installation, Intranet Installation
Build a
NetworkingKubernetes supports for Third-party netwroking the cluster via the MLM plugin. For more infromation, please see Cluster Networking.According to this Chinese blog, Principles and Solutions of Kubernetes Networking from Yourongyun the three top of the MLM Pro Viders for kubernetes cluster based on VMs is Project Calico, flannel, Weave Net.And also, here is comparison of variable networking solution
! [K8s-install] (https://raw.githubusercontent.com/opsnull/follow-me-install-kubernetes-cluster/master/images/ Dashboard-home.png) "And I step-by-Step deployment kubernetes cluster" since its release, by the Kubernetes community long-time enthusiasts attention, raised a lot of questions and suggestions (see Github issues), very happy to bring you help! Previous v
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.